// 订单列表页样式
.order-list-container {
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

// 状态筛选标签
.status-tabs {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0 24px;
}

.tabs-scroll {
  width: 100%;
  white-space: nowrap;
}

.tabs-wrapper {
  display: flex;
  align-items: center;
  min-width: 100%;
}

.tab-item {
  flex-shrink: 0;
  padding: 24px 16px;
  margin-right: 16px;
  position: relative;
  
  &.active {
    .tab-text {
      color: #ffb300;
      font-weight: bold;
    }
    
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 4px;
      background: #ffb300;
      border-radius: 2px;
    }
  }
}

.tab-text {
  font-size: 32px;
  color: #666;
  transition: color 0.3s;
}

// 订单滚动区域
.order-scroll {
  flex: 1;
  padding: 24px;
}

// 加载和空状态
.loading-container, .empty-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  text-align: center;
}

.empty-text {
  font-size: 36px;
  color: #999;
  margin-bottom: 12px;
}

.empty-desc {
  font-size: 28px;
  color: #ccc;
}

// 订单内容
.order-content {
  padding-bottom: 24px;
}

// 订单项
.order-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  
  &:active {
    background: #f8f8f8;
    transform: scale(0.99);
  }
}

// 订单头部
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.order-info {
  flex: 1;
}

.order-no {
  font-size: 32px;
  color: #333;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.order-time {
  font-size: 26px;
  color: #999;
  display: block;
}

.order-status {
  font-size: 28px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  
  &.status-pending {
    color: #ff9800;
    background: #fff3e0;
  }
  
  &.status-paid {
    color: #4caf50;
    background: #e8f5e8;
  }
  
  &.status-processing {
    color: #2196f3;
    background: #e3f2fd;
  }
  
  &.status-completed {
    color: #4caf50;
    background: #e8f5e8;
  }
  
  &.status-cancelled {
    color: #f44336;
    background: #ffebee;
  }
}

// 商品信息
.order-products {
  margin-bottom: 24px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f8f8f8;
  
  &:last-child {
    border-bottom: none;
  }
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 32px;
  color: #333;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.product-spec {
  font-size: 26px;
  color: #666;
  display: block;
}

.product-price {
  font-size: 32px;
  color: #ff6b00;
  font-weight: bold;
}

// 订单底部
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.total-info {
  flex: 1;
}

.total-label {
  font-size: 26px;
  color: #666;
  display: block;
  margin-bottom: 4px;
}

.total-amount {
  font-size: 32px;
  color: #ff6b00;
  font-weight: bold;
  display: block;
}

// 订单操作按钮
.order-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.action-btn {
  font-size: 26px !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  
  &.cancel-btn {
    background: #f5f5f5 !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
  }
  
  &.pay-btn {
    background: #ffb300 !important;
    color: #fff !important;
    border: none !important;
  }
  
  &.delete-btn {
    background: #f44336 !important;
    color: #fff !important;
    border: none !important;
  }
}
